/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aptech.business;

import com.aptech.domain.JPA.Event;
import com.aptech.domain.JPA.EventRequest;
import com.aptech.domain.JPA.SearchEventCondition;
import com.aptech.domain.model.EventDO;
import java.util.List;
import java.util.Set;

/**
 *
 * @author Admin
 */
public interface IEventManager {
    public List<Event> getAllEvent() throws Exception;
    public void addEvent(EventDO event);
    public List<EventDO> searchEvent(SearchEventCondition searchEventCondition) throws Exception;
    public EventDO getEventDetails(SearchEventCondition searchEventCondition) throws Exception;
    public void saveEventRequest(int eventId, int accountId);
    public Set<EventRequest> getEventRequestByUsername(String username);
    public void saveCommentForEvent(int topicId, String postContent);

}
